package command;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: Doream
 * @Date: 2022/1/29 20:43
 */
// 订单类
public class Order {
    // 餐桌号
    private int tableNumber;
    // 订单
    private Map<String,Integer> foodDir = new HashMap<>();

    public int getTableNumber() {
        return tableNumber;
    }

    public void setTableNumber(int tableNumber) {
        this.tableNumber = tableNumber;
    }

    public Map<String, Integer> getFoodDir() {
        return foodDir;
    }

    public void setFoodDir(String name,int num) {
        foodDir.put(name,num);
    }
}
